home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000267_news@columbia.edu _Mon Feb 17 10:34:20 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA09076
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 17 Feb 1997 10:34:20 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA11578
for kermit.misc@watsun; Mon, 17 Feb 1997 10:34:19 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Linux compile error
Date: 17 Feb 1997 15:34:17 GMT
Organization: Columbia University
Lines: 47
Message-ID: <5e9tpp$bis$1@apakabar.cc.columbia.edu>
References: <slrn5gbq1d.1pa.rpotter@rpotter.cgocable.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6606
In article <slrn5gbq1d.1pa.rpotter@rpotter.cgocable.net>,
Richard Potter <rpotter@cgocable.net> wrote:
:
: Call me stupid, but I can't get going here. I'm running the latest, and
: greatest Red Hat 4.1 release. I've read the comments in the linux section of
: the makefile, but no luck.
:
: make linux
: gives the following error:
:
: gcc -o wart ckwart.o -lcurses -ltermcap
: ld: cannot open -lcurses: No such file or directory
: make [1]: *** [wart] Error 1
: make [1]: Leaving directory `/tmp'
: make : *** [linux] Error 2
:
: Please help.
:
There is much confusion amongst Linux versions about whether curses, ncurses,
or both are installed, and which the default should be, and what it should be
called. I asked Linus how he thought this problem should be addressed. He
said all Linux systems should have ncurses installed, instead of curses, but
for compatibility with all the other UNIX versions in the world, there should
be symlinks from from the curses.* to ncurses.*. In other words, applications
should be able to refer to it as curses, not ncurses.
In the "table of contents" of the makefile, it says:
# + for Linux, "make linux" or (to remove TCP/IP) "make linuxnotcp".
# For static linking, use "make linuxs". IMPORTANT: Read the comments
# that accompany the "linux:" entry.
Then when you actually run "make linux", it prints this on your screen:
Making C-Kermit $(CKVER) for Linux...
IMPORTANT: Read the comments in the linux section of the
makefile if you get compilation or link errors.
Among the many comments that accompany the Linux entry you will find:
# -DCK_CURSES: Here we link with the regular curses library. But you should
# be using ncurses. Internally, the ckuusx.c module includes <curses.h>, but
# this really should be <ncurses.h>. Thus if you have the new curses
# material, you should either install it with the standard names, or else
# create symbolic links from the standard names to the new ones.
- Frank